<?php namespace App\Http\Controllers\Site;

use App\Http\Controllers\Controller;
use App\Item;

class ProController extends Controller
{
    public function getIndex()
    {
        $lists = Item::where('type','product')->orderBy('updated_at','DESC')->get();
        return view('site.pro.index',[
            'lists' => $lists,
        ]);
    }
}